
import 'dart:convert';

PropertyMessageResult propertyMessageResultFromJson(String str) => PropertyMessageResult.fromJson(json.decode(str));

String propertyMessageResultToJson(PropertyMessageResult data) => json.encode(data.toJson());

class PropertyMessageResult {
    PropertyMessageResult({
        this.message,
    });

    Message? message;

    factory PropertyMessageResult.fromJson(Map<String, dynamic> json) => PropertyMessageResult(
        message: Message.fromJson(json["message"]),
    );

    Map<String, dynamic> toJson() => {
        "message":message!=null ? message?.toJson(): null,
    };
}

class Message {
    Message({
        this.propertyName,
        this.message,
    });

    String? propertyName;
    String? message;

    factory Message.fromJson(Map<String, dynamic> json) => Message(
        propertyName: json["propertyName"],
        message: json["message"],
    );

    Map<String, dynamic> toJson() => {
        "propertyName": propertyName,
        "message": message,
    };
}
